<template>
  <el-breadcrumb separator="/">
    <transition-group name="breadcrumb">
      <el-breadcrumb-item v-for="item in $route.matched" :key="item.path">
        <span :style="{ color: $store.getters.head_theme('textcolor') }">{{ item.name }}</span>
      </el-breadcrumb-item>
    </transition-group>
  </el-breadcrumb>
</template>

<script>
export default {};
</script>

<style lang="less" scoped>
.el-breadcrumb {
  display: inline-block;
  font-size: 14px;
  line-height: 50px;
  margin-left: 8px;
  span {
    margin-left: 0 !important;
  }
}
</style>
